package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * (InventoryRecords)表实体类
 *
 * @author makejava
 * @since 2024-09-01 20:15:11
 */
@TableName("inventory_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InventoryRecord implements Serializable {


    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;//主键

    private Integer quantity;//数量

    private Date recordDate;//记录日期

    private Integer productId;//商品id

    private Integer supplierId;//供应商id

}